﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Mafserver.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Heritage.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
	        $(function() {
            $("#dialog").dialog({
                bgiframe: true,
                height: 140,
                modal: true,
                autoOpen: false, 
                resizable: false
                })
        });
        </script>
<div class="mainname" style="margin-bottom:10px;">
    <div style="float:left;padding-top:12px;"><span class="FreeSetBold" style=" padding-left: 30px; padding-bottom: 0px; margin-top:0px; color:#0E1A21;font-size:20px;">Загрузка фотографии профиля</span></div>
    </div>
    <div class="lowercontent" style="сolor:#6B562D; font-size:11px;">

<div id="dialog" title="Upload files">        
    <% using (Html.BeginForm("Upload", "File", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {%><br />
        <p><input type="file" id="fileUpload" name="fileUpload" size="23"/></p><br />
        <p><input type="submit" value="Upload file" /></p>        
    <% } %>    
</div>
<a href="#" onclick="jQuery('#dialog').dialog('open'); return false">Upload File</a>
    </div>
</asp:Content>
